$f: 19.2;

.home {
  position: relative;
  width: 100%;

  .banner {
    position: relative;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
    }

    .text {
      position: absolute;
      left: 190/$f+vw;
      top: 55%;
      transform: translateY(-50%);

      .p1 {
        background: linear-gradient(180deg, rgba(56, 110, 181, 0.50) 35.29%, rgba(255, 255, 255, 0.00) 84.31%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 40/$f+vw;
        text-transform: uppercase;
        font-family: 'PingFang';
        font-weight: 600;
      }

      .p2 {
        color: #386EB5;
        font-size: 48/$f+vw;
        font-weight: 700;
        margin-top: -1vw;
      }

      .p3 {
        display: flex;
        align-items: center;
        font-size: 36/$f+vw;
        color: #386EB5;
        margin-top: 1vw;

        p {
          margin: 0 20/$f+vw;
        }

        &::before,
        &::after {
          content: '';
          display: block;
          width: 8/$f+vw;
          height: 8/$f+vw;
          background-color: #E60012;
          border-radius: 50%;
        }
      }
    }

    .types {
      border-top: 3px solid rgba(58, 133, 192, 0.10);
      background: rgba(0, 0, 0, 0.30);
      backdrop-filter: blur(5px);
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;

      .items {
        width: 65%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;

        .item {
          width: 25%;
          position: relative;
          cursor: pointer;

          &::before {
            content: '';
            display: block;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: -2px;
            width: 0;
            transition: all 600ms;
            height: 4/$f+vw;
            background: #386EB5;
          }

          .p1 {
            color: #FFF;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 22/$f+vw 0;
            font-size: 20/$f+vw;
            font-weight: 700;
            transition: all 600ms;

            svg {
              display: block;
              width: 24/$f+vw;

              path {
                transition: all 600ms;
              }
            }
          }

          .aList {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 100%;
            background: #FFF;
            box-shadow: 0px 4px 9.6px 0px rgba(0, 0, 0, 0.25);
            display: none;
            a {
              display: block;
              color: #000;
              font-size: 20/$f+vw;
              margin: 16/$f+vw 20/$f+vw;
              transition: all 600ms;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              &:hover{
                color: #386EB5;
              }
            }
          }

          &:hover {
            &::before {
              width: 100%;
            }

            .p1 {
              color: #386EB5;

              svg {
                path {
                  stroke: #386EB5;
                }
              }
            }
            .aList{
              display: block;
            }
          }
        }

        .active {
          &::before {
            width: 100%;
          }

          .p1 {
            color: #386EB5;

            svg {
              path {
                stroke: #386EB5;
              }
            }
          }
        }
      }
    }
  }

  .main {
    .section1{
      position: relative;
      z-index: 1;
      padding: 128/$f+vw 190/$f+vw 127/$f+vw 190/$f+vw;
      display: flex;
      justify-content: space-between;
      .bg{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
      }
      .p1{
        width: 740/$f+vw;
        color: #000;
        font-size: 20/$f+vw;
        font-style: normal;
        font-weight: 400;
        line-height: 36/$f+vw; /* 180% */
      }
      .p2{
        width: 724/$f+vw;
        color: #000;
        font-size: 24/$f+vw;
        font-style: normal;
        font-weight: 600;
        line-height: 40/$f+vw; /* 166.667% */
      }
    }

    .section2{
      padding: 119/$f+vw 0 170/$f+vw 0;
      *{
        box-sizing: border-box;
      }
      background: #FAFAFA;
      .wrap{
        padding: 0 166/$f+vw 0 190/$f+vw;
        .title{
          color: #000;
          font-size: 40/$f+vw;
          font-style: normal;
          font-weight: 600;
          margin: 0 0 110/$f+vw;
        }
        .content{
          display: flex;
          justify-content: space-around;
          .item{
            text-align: center;
            position: relative;
            cursor: pointer;
            &.right{
              .position{
                flex-direction: row-reverse;
                right: 30%;
                left: unset;
                .circle{
                  margin: 0 0 0 20/$f+vw;
                }
                .pick{
                  &:after{
                    left: unset;
                    right: -14/$f+vw;
                    border-left: 15/$f+vw solid #fff;
                    border-right: none;
                  }
                }
              }
            }
            .icon{
              width: 96/$f+vw;
              height: 85/$f+vw;
              margin: 0 auto 33/$f+vw;
              img{
                max-width: 100%;
                max-height: 100%;
              }
            }
            p{
              color: #000;
              text-align: center;
              font-size: 24/$f+vw;
              font-style: normal;
              font-weight: 600;
              line-height: 33.308/$f+vw; /* 138.785% */
            }
            .position{
              display: flex;
              align-items: center;
              position: absolute;
              left: 31/$f+vw;
              top: -89/$f+vw;
              opacity: 0;
              pointer-events: none;
              transition: 1s;
              z-index: 5;
              .circle{
                width: 32/$f+vw;
                height: 32/$f+vw;
                margin: 0 20/$f+vw 0 0;
              }
              .pick{
                padding: 16/$f+vw;
                background: #fff;
                position: relative;
                box-shadow: 0px 4px 26.2px rgba(187, 187, 187, 0.25);
                span{
                  text-align: left;
                  display: block;
                  font-size: 24/$f+vw;
                  color: #000;
                  font-weight: bold;
                  margin: 0 0 10/$f+vw;
                }
                &:after{
                  content: '';
                  position: absolute;
                  top: 50%;
                  transform: translateY(-50%);
                  border-right: 15/$f+vw solid #fff;
                  border-top: 10/$f+vw solid transparent;
                  border-bottom: 10/$f+vw solid transparent;
                  left: -14/$f+vw;
                }
                p{
                  width: 296/$f+vw;
                  color: #000;
                  font-size: 16/$f+vw;
                  font-weight: 200;
                  line-height: 20/$f+vw; /* 200% */
                  text-align: left;
                }
              }
            }
            &:hover{
              .position{
                opacity: 1;
              }
            }
          }
        }
      }
    }

    .section3{
      padding: 100/$f+vw 0;
      *{
        box-sizing: border-box;
      }
      .wrap{
        .top{
          padding: 0 190/$f+vw;
          display: flex;
          align-items: center;
          justify-content: space-between;
          .title{
            color: #000;
            font-size: 40/$f+vw;
            font-style: normal;
            font-weight: 600;
          }
          .other{
            display: flex;
            align-items: center;
            .jt{
              width: 57/$f+vw;
              height: 46/$f+vw;
              cursor: pointer;
            }
            .paging{
              display: flex;
              margin: 0 23/$f+vw;
              p{
                color: #CFCFCF;
                font-size: 18/$f+vw;
                font-style: normal;
                font-weight: 500;
                cursor: pointer;
                &.on{
                  color: #386EB5;
                }
                &:not(:last-child) {
                  margin: 0 26/$f+vw 0 0;
                }
              }
            }
          }
        }
        .content{
          margin: 80/$f+vw 0 0 0;
          overflow: hidden;
          position: relative;
          .matter{
            width: 100%;
            pointer-events: none;
            transform: translateY(20px);
            opacity: 0;
            &:not(:first-child) {
              position: absolute;
              top: 0;
              left: 0;
            }
            &.on{
              transition: .6s;
              opacity: 1;
              transform: translateY(0);
              pointer-events: auto;
            }
            .swiper1{
              width: 2047/$f+vw;
              margin: 0 0 0 7/$f+vw;
              .swiper-slide{
                .item{
                  width: 100%;
                  height: 580/$f+vw;
                  position: relative;
                  z-index: 1;
                  overflow: hidden;
                  padding: 120/$f+vw 56/$f+vw 0 56/$f+vw;
                  cursor: pointer;
                  transition: .6s;
                  &:after{
                    content: '';
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    top: 0;
                    left: 0;
                    z-index: 1;
                    background: linear-gradient(177deg, #F8F8F9 49.7%, rgba(248, 248, 249, 0.00) 94.33%);
                  }
                  .img{
                    position: absolute;
                    width: 100%;
                    bottom: 0;
                    left: 0;
                    z-index: -1;
                  }
                  .jump{
                    position: relative;
                    z-index: 12;
                    h1{
                      color: #000;
                      font-size: 28/$f+vw;
                      font-style: normal;
                      font-weight: 400;
                      line-height: 28/$f+vw; /* 100% */
                      letter-spacing: -0.56px;
                    }
                    .opacity{
                      margin: 21/$f+vw 0 0 0;
                      opacity: 0;
                      transform: translateY(20px);
                      transition: 1s;
                      p{
                        width: 292/$f+vw;
                        color: #000;
                        font-size: 16/$f+vw;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 32/$f+vw; /* 200% */
                        padding: 0 0 0 29/$f+vw;
                        position: relative;
                        &:after{
                          content: '';
                          top: 12/$f+vw;
                          left: 0;
                          position: absolute;
                          width: 10/$f+vw;
                          height: 10/$f+vw;
                          border-radius: 50%;
                          background: #E60012;
                        }
                      }
                    }
                  }
                  &:hover{
                    border-radius: 235/$f+vw;
                    .opacity{
                      opacity: 1;
                      transform: translateY(0);
                    }
                  }
                }
              }
            }
          }
        }
      }
    }

    .section4{
      padding: 0 190/$f+vw 100/$f+vw 190/$f+vw;
      *{
        box-sizing: border-box;
      }
      .title{
        color: #000;
        font-size: 40/$f+vw;
        font-style: normal;
        font-weight: 600;
        margin: 0 0 80/$f+vw;
      }
      .content{
        display: flex;
        justify-content: space-between;
        .proSwiper{
          width: 100%;
        }
        .item{
          width: 338/$f+vw;
          height: 362/$f+vw;
          background: linear-gradient(0deg, #C8C8C8 0%, #FFF 100%);
          position: relative;
          display: flex;
          align-items: center;
          justify-content: center;
          &:hover {
            .text2 {
              opacity: 1;
            }
          }
          .text2 {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: #386EB5;
            opacity: 0;
            transition: all 600ms;
            z-index: 2;

            .db {
              margin: 40/$f+vw;
              color: white;

              .p1 {
                font-size: 24/$f+vw;
                font-weight: 600;
                font-family: 'PingFang';
              }

              .ds {
                margin-top: 32/$f+vw;

                .pd1 {
                  font-size: 18/$f+vw;
                }

                .pd2 {
                  font-size: 20/$f+vw;
                  font-weight: 600;
                  margin-top: 10/$f+vw;
                }
              }
            }
          }
          .img{
            width: 281/$f+vw;
            height: 302/$f+vw;
            display: flex;
            align-items: center;
            justify-content: center;
            img{
              max-width: 100%;
              max-height: 100%;
              object-fit: contain;
            }
          }
          .text{
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 57/$f+vw;
            border-top: 3/$f+vw solid rgba(0, 0, 0, 0.10);
            background: rgba(0, 0, 0, 0.20);
            backdrop-filter: blur(5px);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20/$f+vw 0 16/$f+vw;
            p{
              color: #FFF;
              font-size: 24/$f+vw;
              font-style: normal;
              font-weight: 600;
              line-height: 24/$f+vw; /* 100% */
              letter-spacing: -0.68px;
            }
            img{
              width: 36/$f+vw;
              height: 30/$f+vw;
            }
          }
        }
      }
    }
  }


  @media screen and (max-width: 1024px) {
    padding-top: 60px;

    .banner {
      img {
        height: 150px;
      }

      .text {
        left: 5%;
        top: 45%;

        .p1 {
          font-size: 20px;
        }

        .p2 {
          font-size: 20px;
          margin-top: -10px;
        }

        .p3 {
          font-size: 18px;
          margin-top: 10px;

          p {
            margin: 0 10px;
          }

          &::before,
          &::after {
            width: 5px;
            height: 5px;
          }
        }
      }

      .types {
        position: static;

        .items {
          width: 100%;

          .item {
            width: 25%;

            .p1 {
              font-size: 12px;
              padding: 10px 0;

              svg {
                width: 15px;
                margin-left: 3px;
                height: auto;
              }
            }
            .aList{
              a{
                font-size: 12px;
                margin: 15px;
              }
            }
          }
        }
      }
    }

    .main {
      .section1{
        height: auto;
        padding: 40px 5%;
        flex-direction: column;
        .p1,.p2{
          width: 100%;
          font-size: 14px;
          line-height: 1.8;
        }
        .p1{
          margin: 0 0 20px;
        }
      }
      .section2{
        padding: 50px 5%;
        .wrap{
          padding: 0;
          .title{
            font-size: 24px;
            margin: 0 0 20px;
          }
          .content{
            flex-direction: column;
            .item{
              &:not(:last-child) {
                margin: 0 0 30px;
              }
              .icon{
                width: 81px;
                height: 71px;
                margin: 0 auto 20px;
              }
              p{
                font-size: 16px;
                line-height: 1;
              }
              .position{
                position: static;
                opacity: 1;
                margin: 25px 0 0 0;
                .circle{
                  display: none;
                }
                .pick{
                  width: 100%;
                  height: auto;
                  padding: 0;
                  background: transparent;
                  box-shadow: none;
                  &:after{
                    display: none;
                  }
                  span{
                    font-size: 14px;
                    margin: 0 0 10px;
                  }
                  p{
                    width: 100%;
                    font-size: 14px;
                    line-height: 1.7;
                  }
                }
              }
            }
          }
        }
      }

      .section3{
        padding: 30px 0;
        .wrap{
          .top{
            padding: 0 5%;
            .title{
              font-size: 24px;
            }
            .other{
              .jt{
                width: 49px;
                height: 39px;
              }
              .paging{
                margin: 0 10px;
                p{
                  font-size: 14px;
                  &:not(:last-child) {
                    margin: 0 15px 0 0;
                  }
                }
              }
            }
          }
          .content{
            margin: 20px 0 0 0;
            .matter{
              .swiper1{
                width: 90%;
                margin: auto;
                .swiper-slide{
                  .item{
                    height: 300px;
                    padding: 40px 5%;
                    border-radius: 0!important;
                    .jump{

                      h1{
                        font-size: 24px;
                        line-height: 1;
                        margin: 0;
                      }
                      .opacity{
                        opacity: 1;
                        transform: translateY(0);
                        margin: 25px 0 0 ;
                        p{
                          width: 100%;
                          font-size: 14px;
                          line-height: 1.7;
                          padding: 0 0 0 20px;
                          &:after{
                            width: 6px;
                            height: 6px;
                            top: 8px;
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }

      .section4{
        padding: 25px 5%;
        .title{
          font-size: 24px;
          margin: 0 0 20px;
        }
        .content{
          flex-direction: column;
          .item{
            width: 100%;
            height: 250px;
            padding: 20px 5%;
            margin: 0 0 20px;
            .text2 {
              .db {
                margin: 20px;

                .p1 {
                  font-size: 16px;
                }

                .ds {
                  margin-top: 20px;

                  .pd1 {
                    font-size: 14px;
                  }

                  .pd2 {
                    font-size: 16px;
                    margin-top: 5px;
                  }
                }
              }
            }
            .img{
              width: 70%;
              height: auto;
            }
            .text{
              height: 50px;
              padding: 0 5%;
              p{
                font-size: 16px;
              }
              img{
                width: 30px;
                height: fit-content;
              }
            }
          }
        }
      }
    }

  }
}